package com.ripple.java8.example;

import com.ripple.client.Client;
import com.ripple.client.transport.impl.JavaWebSocketTransportImpl;

/**
 * @author xinj.x
 */
public class ServerInfoTest {
    public static void main(String[] args) {
        new Client(new JavaWebSocketTransportImpl())
                .connect("wss://s.altnet.rippletest.net:51233").requestServerInfo(System.out::println);
//                .connect("wss://s2.ripple.com:443").requestHostID(System.out::println);
    }
}
